package com.passive.lock.mapper;

import com.passive.lock.model.po.TLock;
import com.passive.lock.model.po.TLockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TLockMapper {
    /**
     *
     * @mbggenerated 2017-07-26
     */
    int countByExample(TLockExample example);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int deleteByExample(TLockExample example);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int deleteByPrimaryKey(Integer lockid);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int insert(TLock record);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int insertSelective(TLock record);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    List<TLock> selectByExample(TLockExample example);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    TLock selectByPrimaryKey(Integer lockid);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int updateByExampleSelective(@Param("record") TLock record, @Param("example") TLockExample example);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int updateByExample(@Param("record") TLock record, @Param("example") TLockExample example);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int updateByPrimaryKeySelective(TLock record);

    /**
     *
     * @mbggenerated 2017-07-26
     */
    int updateByPrimaryKey(TLock record);
}